AiBuddy\Rest A

Total Complexity 71
Dependencies 12
Dependents 1
Total lines 903
Lines of code 789
Logical lines of code 228
Comment lines 37
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
register_rest_routes()
A
28
1 249
get_range_post_content()
A
42 8 56
update_settings()
A
46 8 42
create_attachment()
S
43 5 54
generate_titles()
S
47 6 38
generate_excerpts()
S
47 6 38
generate_post_images()
S
47 6 37
update_post()
S
52 4 26
create_post()
S
47 3 38
update_option()
S
52 3 26
update_templates()
S
54 2 23
post_count()
S
55 2 22
generate_message_completions()
S
56 2 20
generate_completions()
S
56 2 20
generate_images()
S
57 2 19
get_post_content()
S
59 2 15
retrieve_post_content()
S
63 2 10
get_templates()
S
62 1 12
get_templates_option()
S
66 1 9
get_templates_option_key()
S
80 1 3
__construct()
S
71 1 6
format_into_message()
S
69 1 8
get_settings()
S
64 1 10
not_found_response()
S
68 1 8